<?php include("include/header.php"); ?>
<style>
		/* Faded Slider */
#faded {position:relative;margin-top:10px;}

#faded .rap {background:url(../images/img-wrapper-bg.jpg) no-repeat 50% 0 #1D7717;;border:1px solid #216732;width:589px;height:416px;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;box-shadow:-2px 8px 5px rgba(0, 0, 0, .6);-moz-box-shadow:-2px 8px 5px rgba(0, 0, 0, .6);-webkit-box-shadow:-2px 8px 5px rgba(0, 0, 0, .6);z-index:10;overflow:hidden}
#faded .rap img {margin:9px 0 0 9px}
#faded ul.pagination {width:360px;padding:25px 20px 25px 20px; height:345px;position:absolute;left:585px;top:10px;background:url(css/images/pagination-splash.gif) no-repeat 0 0 #2a2a2a;border:1px solid #3a3a3a;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;box-shadow:-2px 8px 5px rgba(0, 0, 0, .4);-moz-box-shadow:-2px 8px 5px rgba(0, 0, 0, .4);-webkit-box-shadow:-2px 8px 5px rgba(0, 0, 0, .4);z-index:9;}
	
#faded .extra-banner {position:absolute;left:485px;top:307px;z-index:11}
.heading{color:green; font-size:18px;text-transform:uppercase;
margin-bottom: 20px;}
<?php $sql = mysqli_query($link, "select * from pages where page_id = 1");
$result = mysqli_fetch_array($sql);

$sql1 = mysqli_query($link, "select * from page_images where page_id = $result[page_id]"); 

?>
	</style>
				<!-- faded slider begin -->
			<div id="faded">
				<div class="rap">
					<?php while($images =mysqli_fetch_array($sql1)){ ?>
					<a href="#"><img src="img/<?php echo $images['image']; ?>" alt="" width="571" height="398"></a>
					<?php } ?>
				</div>
				
				<ul class="pagination">
					<h1 class="heading"><font color="#D6D6D6" face="Monotype Corsiva" style="font-size:42px;"><b><?php echo $result['page_title']; ?></b></font></h1>
					<p>
						<?php echo htmlspecialchars_decode($result['page_description']); ?>
					</p>
				</ul>
				
			</div>
			<!-- faded slider end -->
		</div>
			<!-- end of container -->	
		</div>
		<!-- end of shell -->			
<?php include("include/footer.php"); ?>